package com.gosophia.commons.persistence.test.organizationManagement.entity;

import java.util.ArrayList;
import java.util.List;

import com.gosophia.commons.persistence.SearchEnable;
/**
 * 职位实体
 * @author wxb、mayue
 * @since 2010-08-4 Copyright (c) 2010 Gosophia corporation All Rights
 *        Reserved.
 */
@SuppressWarnings("serial")
public class Position implements java.io.Serializable {

	/**
	 * 职位实体主键
	 */
	@SearchEnable
	private Long positionId;
	
	/**
	 * 版本
	 */
	private Long version;
	/**
	 * 职位名称
	 */
	@SearchEnable
	private String positionName;
	/**
	 * 职位排序号
	 */
	private Long positionOrder;
	/**
	 * 备注
	 */
	@SearchEnable
	private String note;
	
	/**
     * 用户列表
     */
    private List<UserInfo> userList = new ArrayList<UserInfo>();
    
	public Long getPositionId() {
		return positionId;
	}

	public void setPositionId(Long positionId) {
		this.positionId = positionId;
	}
	
	public Long getVersion() {
		return version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}
	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public Long getPositionOrder() {
		return positionOrder;
	}

	public void setPositionOrder(Long positionOrder) {
		this.positionOrder = positionOrder;
	}
	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

    public List<UserInfo> getUserList() {
        return userList;
    }

    public void setUserList(List<UserInfo> userList) {
        this.userList = userList;
    }
	
	

}
